<template>
  <!-- 测试的结果：a=1+1,b=2,c=x,d=9 -->
  <!-- <h2 a="1+1" :b="1+1" c='x' :d="x" ref="asd">测试</h2> -->
  <!-- <Person a="哈哈" :list="personlist"/> -->
  <Person :list="personlist"/>
</template>

<script lang="ts" setup name="App">
import Person from './components/Person.vue'
import { reactive } from 'vue'
import { type persons } from './types'

let x = 9

let personlist = reactive<persons>([
  {id:'01',name:'张三',age:18},
  {id:'02',name:'李四',age:6},
  {id:'03',name:'王五',age:50},
])
</script>